package com.buaa.wangrui.client.panel;

import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.Toolbar;
import com.gwtext.client.widgets.ToolbarButton;
import com.gwtext.client.widgets.Viewport;

public class WindowsPanel extends Panel{
	
	public WindowsPanel(){
		
		this.setBorder(false);
		this.setPaddings(10);
		
		Panel toolbarPanel = new Panel();   
//	    toolbarPanel.setWidth(500);   
//	    toolbarPanel.setHeight(400); 
	    
	    ToolbarButton btMenu = new ToolbarButton("jessiena");
	    
		
		Toolbar toolBar = new Toolbar();
		toolBar.setPosition(0, 0);
		toolBar.addButton(btMenu);
		toolBar.addSeparator();
		
		toolbarPanel.add(toolBar);
		this.add(toolbarPanel);
		Viewport viewport = new Viewport();
	}

}
